package com.eamois.action.manual;

import java.util.Collection;

import com.eamois.action.BaseAction;
import com.eamois.domain.manual.Catalog;
import com.eamois.domain.manual.CatalogStyle;
import com.eamois.domain.manual.CatalogStyleField;
import com.eamois.domain.manual.ProcessEntity;
import com.eamois.domain.manual.ProcessEntityCols;
import com.eamois.service.manual.CatalogService;
import com.eamois.service.manual.CatalogStyleFieldService;
import com.eamois.service.manual.CatalogStyleService;
import com.eamois.service.manual.ProcessEntityColsService;
import com.eamois.util.ServiceFactory;

public class ProcessEntityColsAction extends BaseAction{
	private ProcessEntityColsService colsService;
	
	
	public ProcessEntityColsService getColsService() {
		return colsService;
	}


	public void setColsService(ProcessEntityColsService colsService) {
		this.colsService = colsService;
	}


	public ProcessEntityColsAction() {
		setColsService((ProcessEntityColsService) ServiceFactory.getInstance().getBean("processEntityColsService"));
	}
	
	public Collection<ProcessEntityCols> findEnsipEntityCols(
			ProcessEntity processEntity) {
		return this.getColsService().findEnsipEntityCols(processEntity);
	}
	
	public void saveProcessEntityCols(ProcessEntityCols cols) {
		this.getColsService().save(cols);
	}
	
	public void removeProcessEntityCols(ProcessEntityCols cols) {
		this.getColsService().remove(cols);
	}
	
}
